<div class="page-head">
        <h1 class="font-thin h4">外接询价单</h1>
</div>
    <div class="list-body" ng-controller="newCspinquiryController">
        <div class="list-query">
            <div class="query-terms" ng-if="queryTermsFilterList[0].visible">
                <label class="control-label pull-left">总询价编号 ：</label>
                <input type="text" class="form-control input-sm query-term" id="table_inquiry_inquiryId" ng-model="queryTerms.cspInquiryCode" placeholder="请输入总询价编号" name="cspInquiryCode">
            </div>
            <div class="query-terms" ng-if="queryTermsFilterList[1].visible">
                <label class="control-label pull-left">子询价编号 ：</label>
                <input type="text" class="form-control input-sm query-term" id="table_inquiry_inquiryChildId" ng-model="queryTerms.cspInquiryChildCode" placeholder="请输入子询价编号" name="cspInquiryChildCode">
            </div>
            <div class="query-terms" ng-if="queryTermsFilterList[2].visible">
                <label class="control-label pull-left">客户单位 ：</label>
                <input type="text" class="form-control input-sm query-term" id="table_inquiry_clientName" ng-model="queryTerms.clientName" placeholder="请输入客户单位" name="clientName">
            </div>
            <div class="query-terms" ng-if="queryTermsFilterList[3].visible">
                <label class="control-label pull-left">询价状态 ：</label>
                <select class="form-control input-sm query-term tms-select" name="states" id="table_inquiry_state " ng-model="queryTerms.states" ng-options="x.value as x.text for x in inquiryStatusDropDown">
                    <option value="">全部</option>
                </select>
                <!-- <span class="list-select-icon"></span> -->
            </div>


            <div class="query-terms" ng-if="queryTermsFilterList[4].visible">
                <label class="control-label pull-left">询价起始时间 ：</label>
                <input id="dataTime" name="beginTime" datetimepicker plugintype="datetime" ng-model="queryTerms.beginTime" placeholder="起始时间" class="form-control query-term" type="text" />
                <span id="opendataTime" class="input-group-addon curpoint list-timepicker">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
            <div class="query-terms" ng-if="queryTermsFilterList[5].visible">
                <label class="control-label pull-left">询价结束时间 ：</label>
                <input id="dataTimeEnd" name="endTime" datetimepicker plugintype="datetime" ng-model="queryTerms.endTime" placeholder="结束时间" class="form-control query-term" type="text" />
                <span id="opendataTimeEnd" class="input-group-addon curpoint list-timepicker">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
            <div class="query-terms" ng-if="queryTermsFilterList[6].visible">
                <label class="control-label pull-left">发货地址 ：</label>
                <input type="text" id="table_inquiry_startAddress" class="form-control input-sm query-term" ng-model="queryTerms.beginAddress" placeholder="请输入发货地址" name="beginAddress">
            </div>
           
            <div class="query-terms" ng-if="queryTermsFilterList[7].visible">
                <label class="control-label pull-left">送货地址 ：</label>
                <input type="text" id="table_inquiry_endAddress" class="form-control input-sm query-term" ng-model="queryTerms.endAddress" placeholder="请输入送货地址" name="endAddress">
            </div>





            <div class="query-terms">
                <label class="control-label pull-left"></label>
                <button id="table_clientManagent_query" ng-click="queryFunc()" class="btn tms-btn tms-btn-search" ng-class="{'disabled':querying}" ng-disabled="querying">
                    <i class="fa fa-search" ng-show="!querying"></i>
                    <i class="fa fa-spinner no-bordr" ng-show="querying" ng-class="{'fa-spin':querying}"></i>
                    <span ng-show="!querying">查询</span>
                    <span ng-show="querying">查询中...</span>
                </button>
            </div>
    
        </div>
        <div class="list-btn-area">
            <button id="table_inquiryManagent_excel" ng-click="exportFunc()" class="btn tms-btn tms-btn-export">导出报表</button>
            <div class="list-filter-container">
                <tms-list-filter 
                    tab-head-filter="tabHeadFilter(item)"
                    query-terms-filter-list="queryTermsFilterList"
                    tab-head-filter-list="tabHeadFilterList"
                ></tms-list-filter>
    
            </div>
        </div>
        <div class="list-table">
            <div  ui-grid="gridOptions" ui-grid-pagination ui-grid-auto-resize ui-grid-resize-columns style="height:{{heightA}}px;
                overflow:hidden; min-width:1650px;">
                <div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
            </div>
        </div>
    
    
    </div>